package exceptions;

import java.security.PublicKey;

/**
 * Exception that is thrown when receiving a digitally signed message that could not be verified with the given {@link PublicKey}
 *
 */
public class UnverifiedMessageException extends Exception {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Creates an instance of {@link UnverifiedMessageException}
	 */
	public UnverifiedMessageException() {
		super();
	}
	/**
	 * Creates an instance of {@link UnverifiedMessageException}
	 * @param msg the Exception message
	 */
	public UnverifiedMessageException(String msg) {
		super(msg);
	}

}
